package com.hxl.demo.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface TrainingRecodeService {

    Integer beginStudy(Integer user_id,Integer contentId, Date beginTime);
    List<Map<String,Object>> getRecodeById(Integer userId, Integer contentId);
    List<Map<String,Object>> getRecodeByCount(Integer userId, Integer contentId);
    Integer endStudy(Integer id, Date endTime, Integer trainingTime, Integer cumulativeTime);
}
